package com.example.mybatis.mapper;

import com.example.mybatis.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2025-06-01
 * Time: 16:53
 */
@Mapper
public interface UserInfoXmlMapper {
    List<UserInfo> selectALL();

    UserInfo selectById(Integer id);

    Integer insertUser(UserInfo userInfo);

    Integer deleteById(Integer id);

    Integer upDate(UserInfo userInfo);

    Integer insertByCondition(UserInfo userInfo);

    Integer upDateByCondition(UserInfo userInfo);

    UserInfo selectByCondition(UserInfo userInfo);

    Integer deleteIds(List<Integer> ids);

}
